package com.talent.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JWT配置属性
 */
@Component
@ConfigurationProperties(prefix = "talent.jwt")
@Data
public class JwtProperties {

    /**
     * JWT密钥
     */
    private String secretKey;

    /**
     * JWT过期时间
     */
    private long ttl;
}
